package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "regularization")
public class Regularization {
    /**
     * 转正申请id
     */
    @TableId(value = "regularization_id", type = IdType.INPUT)
    private Integer regularizationId;

    /**
     * 员工工号
     */
    @TableField(value = "employee_id_number")
    private String employeeIdNumber;

    /**
     * 申请人
     */
    @TableField(value = "regularization_name")
    private String regularizationName;

    /**
     * 申请日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(value = "application_time")
    private Date applicationTime;

    /**
     * 部门
     */
    @TableField(value = "department")
    private String department;

    /**
     * 职位
     */
    @TableField(value = "posts")
    private String posts;

    /**
     * 聘用形式
     */
    @TableField(value = "employment_form")
    private String employmentForm;

    /**
     * 身份证号码
     */
    @TableField(value = "identity_card")
    private String identityCard;

    /**
     * 入职日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(value = "onboarding")
    private Date onboarding;

    /**
     * 拟转正日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(value = "turn_positive")
    private Date turnPositive;

    /**
     * 正式薪资
     */
    @TableField(value = "salary")
    private String salary;

    /**
     * 实习期薪资
     */
    @TableField(value = "probationary_salary")
    private String probationarySalary;

    /**
     * 试用期工作成果描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 试用期综合自我评价
     */
    @TableField(value = "self_evaluation")
    private String selfEvaluation;

    /**
     * 部门主管评价
     */
    @TableField(value = "supervisor_evaluation")
    private String supervisorEvaluation;

    /**
     * 平均得分
     */
    @TableField(value = "average_score")
    private String averageScore;

    /**
     * 评价等级
     */
    @TableField(value = "evaluation_level")
    private String evaluationLevel;

    /**
     * 主管评价描述
     */
    @TableField(value = "probation_period")
    private String probationPeriod;

    /**
     * 主管是否通过
     */
    @TableField(value = "supervisor")
    private String supervisor;

    /**
     * 正式转正日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @TableField(value = "official_date")
    private Date officialDate;

    /**
     * HR确认
     */
    @TableField(value = "HR_confirm")
    private String hrConfirm;
}